package life.system.auth.feign;


import life.system.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("Third-Party")
public interface ThirdPartFeignService {

    @RequestMapping("/email/sendCode")
    R sendCode(@RequestParam("email") String email, @RequestParam("code") String code);

}
